package cn.ecnu.mapper;

import cn.ecnu.pojo.DefaultDuty;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface DefaultDutyMapper {

    // 获取所有的默认排班
    @Select("SELECT * FROM psychology.duty")
    List<DefaultDuty> getAllDefaultDuty();
}
